package com.harisucici.websocketlib.modle;


public class BaseReceiveEntity<T> {

    /**
     * msg : 请求成功
     * code : 200
     * payLoad : {"message":"halo"}
     * cmdType : P2P
     */
    private String msg;
    private int code;
    private T payLoad;
    private String cmdType;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getPayLoad() {
        return payLoad;
    }

    public void setPayLoad(T payLoad) {
        this.payLoad = payLoad;
    }

    public String getCmdType() {
        return cmdType;
    }

    public void setCmdType(String cmdType) {
        this.cmdType = cmdType;
    }


}
